#ifndef __SSTATES_H__
#define __SSTATES_H__
#include <stdio.h>
#include <stdlib.h>
#include<malloc.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include "DataStates.h"


/***************StructServeState 的函数*********************/
int SServeStateInit(SServeState* this_serve);
/****************************************/

/*****************StructUserStates 的函数*******************/
int SUserStatesInit(SUserStates* this_user);

int SUserStatesGetLevel(SUserStates* this_user);

int SUserStatesCopy(SUserStates* from,SUserStates* to);
/****************************************/

/*******************StructStates 的函数*****************/
int SStatesInit(SStates* this_states);
int SStatesIsClientWorking(SStates* this_states);
/****************************************/
#endif // __SSTATES_H__
